package cool.webstudy.admin.model.dto.user;

import cool.webstudy.admin.constant.enums.RoleEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 *
 * @author think
 * @date 2024/7/21 14:17
 * @description: 创建用户接口请求参数模型
 */
@Data
@Schema(description = "创建用户接口请求参数模型")
public class CreateUserDTO {
    /**
     * 账号
     */
    @Schema(description = "账号",required = true)
    private String account;
    /**
     * 用户名称
     */
    @Schema(description = "用户名称",required = true)
    private String username;
    /**
     * 用户密码
     */
    @Schema(description = "用户密码",required = true)
    private String password;
    /**
     * 用户角色
     */
    @Schema(description = "用户角色",required = true)
    private RoleEnum role;
}
